package com.example.fresheveryday.mapper;

import com.example.fresheveryday.po.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ll
 * @since 2023-07-05
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where id = #{userId}")
    public User queryUserByUserId(String userId);

    public void checkLogin(String email, String password);

}